/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2024-2024.
 * Description: RTOS Process Context for RPC asm header
 * Create: 2024-07-13
 */
#ifndef __ASM_RTOS_RTPC_RPC_H
#define __ASM_RTOS_RTPC_RPC_H

#include <linux/mm_types.h>
#include <linux/sched.h>
#include <linux/pgtable.h>

static __always_inline bool is_pgtable_diff_check(struct task_struct *tsk)
{
	return cpu_get_pgd() != tsk->mm->pgd;
}

#endif
